package top.continew.admin.business.model.resp;

import java.io.Serial;
import java.time.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.admin.common.model.resp.BaseResp;
import top.continew.starter.extension.crud.annotation.TreeField;

/**
 * 知识点树信息
 *
 * @author sheng_chao
 * @since 2025/03/05 10:51
 */
@Data
@Schema(description = "知识点树信息")
@TreeField(value = "id",nameKey = "name")
public class KnowledgePointTreeResp extends BaseResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @Schema(description = "")
    private Long specificationTypeId;

    /**
     * 
     */
    @Schema(description = "")
    private String name;

    /**
     * 
     */
    @Schema(description = "")
    private String describe;

    /**
     * 状态（1：启用；2：禁用）
     */
    @Schema(description = "状态（1：启用；2：禁用）")
    private Integer status;

    /**
     * 
     */
    @Schema(description = "")
    private Long sort;

    /**
     * 上级id
     */
    @Schema(description = "上级id")
    private Long parentId;

    private String path;

    /**
     * 修改人
     */
    @Schema(description = "修改人")
    private Long updateUser;

    /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}